<?php
//配置文件
return [
	'app_debug'                  => true,
	// +----------------------------------------------------------------------
	// | 数据库设置
	// +----------------------------------------------------------------------
	'data_backup_path'           => '../data/', //数据库备份路径必须以 / 结尾；
	'data_backup_part_size'      => '20971520', //该值用于限制压缩后的分卷最大长度。单位：B；建议设置20M
	'data_backup_compress'       => '1', //压缩备份文件需要PHP环境支持gzopen,gzwrite函数        0:不压缩 1:启用压缩
	'data_backup_compress_level' => '9', //压缩级别   1:普通   4:一般   9:最高
	//分页配置
	'paginate'                   => [
		'type'      => 'bootstrap',
		'var_page'  => 'page',
		'list_rows' => 15,
	],
	'list_rows'                  => 15,
	// +----------------------------------------------------------------------
	// | 验证类型
	// +----------------------------------------------------------------------
	'verify_type'                => '0', //验证码类型：0拖动滑块验证， 1数字验证码
	'auth_key'                   => 'JUD6FCtZsqrmVXc2apev4TRn3O8gAhxbSlH9wfPN', //默认数据加密KEY
	'pages'                      => '10', //分页数
	'salt'                       => 'wZPb~yxvA!ir38&Z', //加密串
	// 默认跳转页面对应的模板文件
	'dispatch_success_tmpl'      => env('app_path') . 'admin/view/public/success.tpl',
	'dispatch_error_tmpl'        => env('app_path') . 'admin/view/public/error.tpl',
	
	// 异常页面的模板文件
	
	'exception_tmpl' => env('app_path') . 'tpl/think_exception.tpl',
	//七牛云
	'qiniu'          => [
		'accesskey' => env("QINIU_KEY"),
		'secretkey' => env("QINIU_SECRECT"),
		'bucket'    => 'api-storage',
	],
	'WEB_SITE_TITLE' => '后台',
	'qiniu_url'      =>  env("QINIU_URL")
];